package org.example.service;

import org.example.pojo.BookMarks;
import org.example.pojo.Comment;
import org.example.pojo.Like;
import org.example.pojo.PageBean;

import java.time.LocalDateTime;
import java.util.List;

public interface BookMarksService {
    void addBookMarks(BookMarks bookMarks);

    PageBean bookMarksList(Integer page, Integer size,
                           Integer userId, String keywords, Integer asterisk, Integer groupId, Integer tagId, String begin, String end);

    BookMarks bookMarkDetail(Integer id);
    void delBookMarks(List<Integer> ids);

    void editBookMarks(BookMarks bookMarks);
    void addComment(Comment comment);
    void delComment(Comment comment);
    List<Comment> getCommentsByBookmarkId(Integer bookmarkId);
    void addLike(Like like);
    void cancelLike(Like like);
    Integer getLikeCountByBookmarkId(Integer bookmarkId);
    Integer getLikeStatus(Like like);
}
